package me.idashu.attg.persistence;

import java.util.List;
import java.util.Map;

import me.idashu.attg.domain.AdverEntity;


public interface AdverMapper {
	
	public void insertAdver(AdverEntity adverEntity);
	
	public List<AdverEntity> findAdversByShopIdPage(Map<String, Object> map);
	
	public int findCountAdversByShopIdPage(AdverEntity adverEntity);
	
	public void deleteAdver(long adverId);
	
	public AdverEntity findOne(long adverId);
	
	public List<AdverEntity> findAdversByShopId(long shopId);
	
	public List<AdverEntity> findAdversByShopIdToInter(long shopId);
} 
